<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8" />
<title>Nothing</title>
<style type="text/css">
</style>
<script type="text/javascript" src="jquery-1.8.0.min.js"></script>
<script type="text/javascript">
    var str = "那个提问者把悬赏从200降到20，对java的不尊重，对芝麻的不尊重。";
    var reg = /(.{17})(.*)/;
    str = str.replace(reg, "$1对你的不尊重，$2");
    alert(str)
</script>
</head>
<body>
</body>
</html>
